package com.kuaihuoyun.ctms.api;

import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;

/**
 * Created by lxji on 2018/1/4.
 */
public class BaseService {
    protected Retrofit retrofit;
    protected String token;

    public BaseService(String url, String token) {
        this.retrofit = new Retrofit.Builder()
                .baseUrl(url)
                .addConverterFactory(GsonConverterFactory.create())
                .build();
        this.token = token;
    }
}
